<template>
<h3>列表渲染</h3>
<p v-for="(item,index) of names">{{ item }}-{{ index }}</p>
<div>
    <p v-for="(value,key,index) of user">{{ value }}-{{ key }}-{{ index }}</p>
</div>

</template>

<script>
export default{
    data(){
        return{
            names:["百战","尚学堂","IT"],
            user:{
                name:"iwen",
                age:20,
                sex:"男"
            }
        }
    }
}



</script>
